<%@ Page AutoEventWireup="false" CodeFile="SpendingPlanUpload.aspx.vb" Inherits="Budget_SpendingPlanUpload" Language="VB" MasterPageFile="~/MasterPageExpandable.master" Title="Upload Spending Plan"%>
<%@ Register Assembly="InputControls" Namespace="InputControls" TagPrefix="cc3" %> 

<%@ Register Assembly="InputControls" Namespace="InputControls" TagPrefix="cc2" %>
<%@ Register Assembly="InputControls" Namespace="InputControls" TagPrefix="cc1" %>
<%@ Register Src="~/Budget/BudgetSubNav.ascx" TagName="SubNavPlaceHolder" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script language="javascript" type="text/javascript">
function openCommentsWindow(id)
{
 mywindow = window.open ("../Case/ViewComments.aspx?spendingplanid="+id,
  "mywindow","status=0,width=900,height=800, left=220,top=220");
}

function createSpendingPlan()
{
 mywindow = window.open ("../BudgetOnlineEntry/SpendingPlanEntry.aspx",
  "mywindow","status=0,width=980, height=725, left=220,top=220 scrollbars=no, resizable=yes");
}
 -->
</script>
    <cc1:EditCaseSubNav ID="EditCaseSubNav" runat="server" InvalidTabs="none" ShowCaseNotes="True" ShowEmployeeInfo="True" ShowLegalGuardianInfo="True" ShowMedicalCareProvider="True" ShowParticipantRepInfo="True" ShowPersonalInfo="True" UseTable="true" Width="862px" />
        <cc3:FinancialSubNav  ID="FinancialSubName" runat="server" InvalidTabs="none" ShowBudgetInfo="True" ShowSubmitSpendingPlan="True" ShowViewSpendingPlan="True" ShowGetSpendingPlan="True" ShowViewMonthlyStatement="True" ShowSubmitMonthlyStatement="True" ShowGetMonthlyStatement="True" ShowHistory="True" ShowAffirmations="true" UseTable="true" Width="862px" style="left: 229px; top: 16px" />
    <div style="position:relative; left:11px; top:0px; width:918px; height:315px;" runat="server" id="maindiv">
        
 <div id="pageDiv" runat="server" style="width:950px; height:275px; overflow:auto;">
 <span style="font-family:MS Sans Serif, Arial, Verdana, Sans-Serif; font-size: 1em; font-weight:bold; color:#21334B;">
            <h1><a id="pagecontent"><asp:Label runat="server" ID="SpendingPlanLabel" />s for <asp:Label runat="server" ID="ParticipantNameLabel" /></a></h1>
        </span>
<table><tr><td style="width: 850px" colspan="2">
    <cc3:ValidationErrorSummary ID="ValidationErrorSummary1" runat="server" Visible="False" />
</td></tr>
<tr><td colspan="2" style="text-align:center; width: 850px;"><asp:Panel ID="UploadConfirmPanel" runat="server" Visible="false">
        <asp:Button ID="ConfirmUploadButton" runat="server" Text="Confirm" />
        <asp:Button ID="CancelUploadButton" runat="server" Text="Cancel" /></asp:Panel></td></tr>
<tr><td style="text-align:center; width: 850px; height:5px;" colspan="2"></td></tr>
<tr><td style="width: 575px; vertical-align:top;">
<asp:Panel ID="UploadSpendingPlanPanel" runat="server">
            <table><tr><td colspan="2"><asp:Label ID="ResultLabel" runat="server" Height="44px" Text="Label" Width="400px" Visible="False" style="text-align: center"></asp:Label></td></tr>
            <tr><td><h2>Option 1: Upload File:</h2></td></tr>
            <tr><td><asp:Label ID="SpendingPlanTwoLabel" runat="server" CssClass="label" Text="Upload Spending Plan:" AssociatedControlID="FileUploadControl"></asp:Label></td>
            <td><asp:FileUpload CssClass="form" ID="FileUploadControl" runat="server" ToolTip="Upload Spending Plan" Width="300px" /></td></tr>
            <tr><td><asp:Label ID="CommentsLabel" AssociatedControlID="CommentsTextBox" runat="server" CssClass="label">Comments:</asp:Label></td>
            <td style="text-align:left;"><asp:TextBox ID="CommentsTextBox" runat="server" TextMode="MultiLine" MaxLength="255" Columns="50" Rows="5"></asp:TextBox></td></tr>
            <tr><td></td><td align="center"><asp:Button ID="SubmitButton" runat="server" Text="Submit" /></td></tr>
                <tr>
                    <td colspan="2" style="text-align: right" align="right">
                        </td>
                </tr>
             <tr><td></td></tr>
            <tr><td><h2>Option 2: Create Online</h2></td></tr>
            <tr><td></td><td align="left"><input type="button" value="Edit Online" onclick="createSpendingPlan();" /></td></tr>
            </table>
           </asp:Panel>

            
                
       </td>
       <td>
          
       </td>
       </tr></table>
       </div>
    </div>
</asp:Content>
